package com.youotech.cipcher.api.message;

/**
 * description
 * <p>
 * .
 * </p>
 *
 * @author zl <br>
 * @date 2018/10/30
 */
public class ResponseMessage<T> implements Message {

    /**
     * 结果码.
     */
    private int restCode = SUCCESS;
    /**
     * 结果描述.
     */
    private String restDesc = SUCCESS_DESC;
    /**
     * 数据体.
     */
    private T data;

    @Override
    public int getRestCode() {
        return restCode;
    }

    @Override
    public String getRestDesc() {
        return null;
    }

    @Override
    public T getData() {
        return null;
    }
}
